package com.jinhongone.dao.impl;

import com.jinhongone.dao.UserDao;

/**
 * @author Administrator
 * @version 1.0
 * @description:
 * @date 2025/4/26 12:51
 */
public class UserDaoImpl implements UserDao {

    private String userName;

    private String pwd;

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public UserDaoImpl() {
        System.out.println("UserDao对象被创建....");
    }

    @Override
    public void add() {
        System.out.println("UserDao add 方法被调用...." + userName + "====" + pwd);
    }
}
